//
//  WPPickerViewTool.m
//  wobingwoyi
//
//  Created by WGP on 16/11/8.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import "WPPickerViewTool.h"


@interface WPPickerViewTool ()

@end
@implementation WPPickerViewTool

+ (instancetype)tool {
    return [[[NSBundle mainBundle] loadNibNamed:@"WPPickerViewTool" owner:nil options:nil] lastObject];
}
- (IBAction)cancelBtnDidClick:(UIButton *)sender
{
    if (self.btnClickBlock)
    {
        self.btnClickBlock(WPKeyboardToolButtonTypeCancel);
    }
}

- (IBAction)sureBtnDidClick:(UIButton *)sender
{
    if (self.btnClickBlock)
    {
        self.btnClickBlock(WPKeyboardToolButtonTypeSure);
    }
}
@end
